//
//  SQLTool.h
//  FRP_OC
//
//  Created by DeLong Yang on 2017/8/7.
//  Copyright © 2017年 DeLongYang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SQLTool : NSObject

@property (nonatomic, strong) NSString *sql;

+ (NSString *)makeSQL:(void(^)(SQLTool *tool))block;

//定义select的block
typedef SQLTool *(^Select)(NSArray<NSString *> *columns);
@property (nonatomic, strong, readonly) Select select;

@end
